package cn.wizzer.app.crown.commons.websocket.action.hg;

import cn.wizzer.app.crown.commons.websocket.main.action.BaseNettyAction;
import cn.wizzer.app.crown.commons.websocket.main.action.NettyAction;
import cn.wizzer.app.crown.commons.websocket.main.base.NettyRouter;
import cn.wizzer.framework.util.Result;
import org.nutz.ioc.loader.annotation.IocBean;

import java.util.Map;

@IocBean
@NettyAction(uri = "/hg/league/champion")
public class ChampionAction extends BaseNettyAction {

    public static BaseNettyAction instance() {
        return BaseNettyAction.instance(ChampionAction.class);
    }

    @Override
    public Object action(Map<String, String> params) {
        return Result.error();
    }

    @Override
    public Result subscribe(NettyRouter subscribeParam) {
        return Result.success();
    }
}
